package com.lyy.service;

import com.github.pagehelper.PageInfo;
import com.lyy.entity.Banner;
import com.lyy.entity.Chapter;

import java.util.List;

/**
 * @author Liangyaoyun
 */
public interface ChapterService {
    int  insertByChapterId(Chapter chapter);
    int  deleteByChapterId(Integer chapter);
    int  updateByChapterId(Chapter chapter);
    int  deleteByChapterIds(List<Integer> chapterId);
    Chapter selectByChapterId(Integer chapter);
    List<Chapter> selectAllChapter();
    PageInfo<Chapter> selectBypage(Integer pageNumber, Integer pageSize);
}
